﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using RBAC.Service.Dto;

namespace RBAC.Service.Dto
{
    [DataContract]
    public class DomainDto : BaseDto
    {
        //string
        private String _domainname;
        [DataMember]
        public String DomainName { get { return string.IsNullOrEmpty(_domainname) ? null : _domainname.Trim(); } set { _domainname = value; } }
        //string
        private String _description;
        [DataMember]
        public String Description { get { return string.IsNullOrEmpty(_description) ? null : _description.Trim(); } set { _description = value; } }
        /*[DataMember]
        public List<Master Detail?Dto> Functions { get; set; }*/
        [DataMember]
        public int? ProjectId { get; set; }
    }

}